﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StaticClass
{
    static class Counter
    {
        static Counter()
        {
            _count = 0;
        }

        private static int _count;

        public static void Increment()
        {
            _count++;
        }

        public static void Decrement()
        {
            _count--;
        }

        public static int Total 
        { 
            get 
            { 
                return _count; 
            } 
        }
    }
}
